home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr36 / gapcdr6.zip / GAPCDR.H < prev    next >
C/C++ Source or Header  |  1993-04-19  |  8KB  |  144 lines

  1. /*
  2.    Copyright (C) 1988-1993 The GAP Development Company
  3.  
  4.    All Rights Reserved
  5.    
  6.    This source code is considered to be confidential information proprietary
  7.    to The GAP Development Company.  It is prohibited and punishable by law
  8.    to use or duplicate any part of this information.
  9.  
  10.  
  11.    GAPCDR.H
  12.  
  13.    Header file for GAPCDR modules
  14.  
  15.    Defines external declarations and includes gastruc.h which defines
  16.    global structures and function prototypes.
  17.  
  18. */
  19.  
  20. #include "gapstruc.h"
  21.  
  22.    /*********************************************************************/
  23.    /*  Variables initialized by reading DOOR.SYS                        */
  24.    /*********************************************************************/
  25.  
  26.    extern short interface;                // 0=Standard,1=Digi Direct,2=Int14/EBIOS
  27.    extern short digiseg;                  // DigiBoard Memory Window
  28.    extern short digiport;                 // DigiBoard I/O Port
  29.    extern short digichnl;                 // DigiBoard Channel
  30.    extern short multi;                    // 1 = system is multi-user
  31.    extern short local;                    // 0 = remote user, 1 = local user  
  32.    extern short port;                     // com port being used              
  33.    extern short parity;                   // actually data bits, not used     
  34.    extern short node;                     // node number in use, 0 = single   
  35.    extern short screen;                   // 0 = screen off, 1 = screen on    
  36.    extern short printer;                  // 0 = printer off, 1 = printer on  
  37.    extern short bell;                     // 0 = page bell off, 1 = bell on   
  38.    extern short alarm;                    // 0 = caller alarm off, 1 = on     
  39.    extern short level;                    // user's security level            
  40.    extern short minsleft;                 // minutes left at door start       
  41.    extern short color;                    // 0 = no color, 1 = color          
  42.    extern short page;                     // page length                      
  43.    extern short expert;                   // 0 = novice, 1 = expert           
  44.    extern short realcredit;               // real time credits
  45.    extern short dflt_color;               // BBS default color
  46.    extern short maxfiles;                 // Max files available
  47.    extern short curfiles;                 // Current files downloaded
  48.  
  49.    extern unsigned short userbaud;        // remote user's bps rate           
  50.    extern unsigned short baud;            // DTE bps rate                     
  51.  
  52.    extern long timeson;                   // # of times on                    
  53.    extern long recnum;                    // user's record number             
  54.    extern long uploads;                   // total number of uploads          
  55.    extern long downloads;                 // total number of downloads        
  56.    extern long curbytes;                  // current download bytes             
  57.    extern long maxbytes;                  // max bytes can download           
  58.    extern long doors_open;                // Total doors opened
  59.    extern long mesleft;                   // Total messages left
  60.    extern long upbytes;                   // total upload bytes               
  61.    extern long downbytes;                 // total download bytes             
  62.  
  63.    extern char username   [];             // user's full name                 
  64.    extern char fname      [];             // user's first name                
  65.    extern char lname      [];             // user's last name                 
  66.    extern char city       [];             // user's home town                 
  67.    extern char hphone     [];             // user's home phone number         
  68.    extern char bphone     [];             // user's business phone number     
  69.    extern char password   [];             // user's password                  
  70.    extern char lastdate   [];             // last date user was on            
  71.    extern char subscrip   [];             // date user's subscription expires 
  72.    extern char handle     [];             // caller's Handle
  73.    extern char event_time [];             // event run time
  74.    extern char last_new   [];             // last new files scan
  75.  
  76.  
  77.    /********************************************************************/
  78.    /*  global variables                                                */
  79.    /********************************************************************/
  80.  
  81.    extern char noup;                      // if 1, dont uppercase characters     
  82.    extern char redisplay;                 // true if wants to start over         
  83.    extern char usemore1;                  // true if showing a file              
  84.    extern char view;                      // true if want a more prompt          
  85.    extern char endview;                   // true if dont want to see any more   
  86.    extern char NS;                        // true if in Non Stop mode            
  87.    extern char instatus;                  // if doing status line,bypas our BIOS 
  88.    extern char chat;                      // true if chatting with user          
  89.    extern char wordwrap;                  // column to wrap at                   
  90.    extern char column;                    // column we are at now                
  91.    extern char flag;                      // flag that a space was pressed       
  92.    extern char clockon;                   // 0 no clock, 1 display clock
  93.  
  94.    extern short timeleft;                 // time user has left                  
  95.    extern short lines;                    // # of lines currently displayed
  96.    extern short irq;                      // IRQ for port
  97.    extern short base_add;                 // base address for port
  98.    extern short timecredit;               // any time credits user may have
  99.    extern short _near normal;             // current display color
  100.    extern short _near crscur;             // current cursor pos
  101.  
  102.    extern char anystring   [];            // global garbage collector            
  103.    extern char maindir     [];            // path to the BBS main dir            
  104.    extern char gendir      [];            // path to the BBS gen dir             
  105.    extern char sysname     [];            // sysop's name                        
  106.    extern char strtime     [];            // holds the time string               
  107.    extern char curtime     [];            // holds the current time as a string  
  108.    extern char bbs_dir     [];            // path to BBS default dir             
  109.    extern char board_name  [];            // name of the BBS                     
  110.    extern char birthday    [];            // caller's birth date
  111.    extern char _near useridx [];          // user's index key (must be near)
  112.  
  113.    extern long temptime;                  // for calculating time out            
  114.    extern long timenow;                   // long integer for current time       
  115.    extern long starttime;                 // long integer for time door opened   
  116.  
  117.    // structures
  118.  
  119.    extern struct GAP_USER  __near user;
  120.    extern struct PCBSYS14  __near pcbsys;
  121.    extern struct PCBUSER14 __near pcbuser;
  122.  
  123.  
  124.    extern char  BS [];
  125.    extern char  CRLF [];
  126.  
  127.    extern char  A_BLACK [];               // ANSI color strings                  
  128.    extern char  A_RED [];
  129.    extern char  A_GREEN [];
  130.    extern char  A_BROWN []; 
  131.    extern char  A_BLUE [];
  132.    extern char  A_MAGENTA []; 
  133.    extern char  A_CYAN [];
  134.    extern char  A_WHITE [];
  135.    extern char  A_BBLACK [];
  136.    extern char  A_BRED [];
  137.    extern char  A_BGREEN [];
  138.    extern char  A_YELLOW [];
  139.    extern char  A_BBLUE [];
  140.    extern char  A_BMAGENTA [];
  141.    extern char  A_BCYAN [];
  142.    extern char  A_BWHITE [];
  143.  
  144.